package org.jeecg.modules.third.jg.jss.report.cfcgoodsofvehicle.service;

import org.jeecg.modules.third.jg.jss.report.cfcgoodsofvehicle.entity.CfcGoodsofvehicle;
import org.jeecg.modules.third.jg.jss.report.cfcgoodsofvehicle.mapper.CfcGoodsofvehicleMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 *
 * 车载货物信息
 * @Description: CFC_GOODSOFVEHICLE
 * @Author: jeecg-boot
 * @Date:   2021-11-25
 * @Version: V1.0
 */
@Service
public class CfcGoodsofvehicleService {

    @Resource
    private CfcGoodsofvehicleMapper  goodsofvehicleMapper;



    public Integer insertGoodsofvehicle(CfcGoodsofvehicle cfcGoodsofvehicle){
        return goodsofvehicleMapper.insertGoodsofvehicle( cfcGoodsofvehicle);
    }


    public CfcGoodsofvehicle selectGoodsofvehicleByJobordernumber(String jobordernumber){
        return goodsofvehicleMapper.selectGoodsofvehicleByJobordernumber( jobordernumber);
    }


    public Integer deletGoodsofvehicle(String jobordernumber){
        return goodsofvehicleMapper.deletGoodsofvehicle( jobordernumber);
    }


    public CfcGoodsofvehicle selectGoodsofvehicleByGoodsid( String goodsid){
        return   goodsofvehicleMapper.selectGoodsofvehicleByGoodsid(  goodsid);
    }





}
